#ifndef CHESSWIDGET_H
#define CHESSWIDGET_H

#include <QWidget>

//enum chessType {
//    soldier = 0,
//    cannon,
//    car,
//    horse,
//    elephant,
//    housecarl,
//    general,
//    unkonw
//};

//enum userType {
//    white = 0,
//    black = 1,
//    total
//};

//class chessWidget : public QWidget
//{
//    Q_OBJECT
//public:
//    explicit chessWidget(QWidget *parent = nullptr);
//    void SetChessType(chessType chessType);
//    void SetUserType(userType userType);
//    void SetRect(QRect rect);
//    void SetScale(int scale);
//signals:
//private:
//    chessType m_chessType;
//    userType m_userType;
//    QRect m_rect;
//    int m_scale;
//};

#endif // CHESSWIDGET_H
